package org.zgr.service;

import common.dtos.GoodHomePageDto;
import common.entity.book.GoodInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.zgr.mapper.GoodMapper;

import java.util.List;

/**
 * @Author: 郑国荣
 * @Date: 2024-04-01-0:01
 * @Description:
 */
@Service
public class GoodsService {
    @Autowired
    private GoodMapper goodMapper;

    public List<GoodInfo> getGoodsList(){
        return goodMapper.selectList(null);
    }
}
